package com.ruoyi.pos.mapper;

import java.util.List;
import com.ruoyi.pos.domain.ExchangeItem;

/**
 * exchang_itemMapper接口
 * 
 * @author wzh
 * @date 2021-05-21
 */
public interface ExchangeItemMapper 
{
    /**
     * 查询exchang_item
     * 
     * @param id exchang_itemID
     * @return exchang_item
     */
    public ExchangeItem selectExchangeItemById(Long id);

    /**
     * 查询exchang_item列表
     * 
     * @param exchangeItem exchang_item
     * @return exchang_item集合
     */
    public List<ExchangeItem> selectExchangeItemList(ExchangeItem exchangeItem);

    /**
     * 新增exchang_item
     * 
     * @param exchangeItem exchang_item
     * @return 结果
     */
    public int insertExchangeItem(ExchangeItem exchangeItem);

    /**
     * 修改exchang_item
     * 
     * @param exchangeItem exchang_item
     * @return 结果
     */
    public int updateExchangeItem(ExchangeItem exchangeItem);

    /**
     * 删除exchang_item
     * 
     * @param id exchang_itemID
     * @return 结果
     */
    public int deleteExchangeItemById(Long id);

    /**
     * 批量删除exchang_item
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteExchangeItemByIds(Long[] ids);
}
